package com.tkmybatis.hfy.base.mapper;

import java.util.List;
import java.util.Map;

import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

/**
 * 基础dao
******************************************************************************
 *****************************************************************************
 * @author zyw
 * @date 2016年10月3日 下午2:07:12
 * @version 1.0 
 * @param <T>
 *
 */
public interface BaseMapper<T> extends Mapper<T>, MySqlMapper<T>{
    public void deleteByParam(Map<String, Object> paramMap);
    List<T> queryList(Map<String, Object> paramMap);
    Long queryCount(Map<String, Object> paramMap);
    List<Map<String, Object>> queryListMapByLike(Map<String, Object> paramMap);
    List<T> queryListByLike(Map<String, Object> paramMap);
    List<Map<String, Object>> queryListMap(Map<String, Object> paramMap);
    void insertBatch(List<T> t);
	public List<T> findProjectByIdList(Map<String, Object> paramMap);
}
